Repository navigation
chore(insforge): pindah ke project InsForge baru (Kaffe POS) - #4
Merged
Merged
Conversation
The previous project (kaffepos-v2, 6x4q2bgn) went offline. Switch every default host, project ID and env template to the new project "Kaffe POS" (849uckhn.ap-southeast, 9be3a9b0-568c-4a0c-bd32-f655dcfcdc79). The new database was provisioned with database/base-schema.sql and database/production-bootstrap.sql before running backend migrations. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ringkasan
Project InsForge lama (
kaffepos-v2,6x4q2bgn) mati: API membalas "No backend services available" dan koneksi database diputus, sehingga backend crash di tahap migrasi. Semua alamat dan ID default sekarang menunjuk ke project baru Kaffe POS (849uckhn.ap-southeast, ID9be3a9b0-568c-4a0c-bd32-f655dcfcdc79).Yang berubah
insforge.toml: project id, nama, dan hostsrc/lib/insforge.tsdanbackend/src/core/insforge.ts.env.example,backend/.env.example)insforge/functions/kaffepos-status.ts,scripts/smoke-insforge-backend.mjs, tes terkaitAGENTS.mddanREADME.mdTidak ada secret di diff.
Catatan untuk reviewer
DATABASE_URL,INSFORGE_*). PR ini menyamakan default di kode.database/base-schema.sqllaludatabase/production-bootstrap.sql, baru kemudian migrasi backend (18/18). Tanpa dua file itu, migrasi20260430_0002gagal karenapublic.storesdanpublic.inventorybelum ada. Mengotomatiskan langkah ini sebaiknya jadi PR terpisah.VITE_INSFORGE_URL/VITE_INSFORGE_ANON_KEYke project baru bila diset di sana.Tes
vitestbackend:db.test.ts,insforge.test.ts,paymentConfig.test.tslulus (14)vitestfrontend:src/lib/insforge.test.tslulus (1)https://api.kaffepos.my.id/health200 dengan database InsForge OK; webhook Mayar menerima token valid (200) dan menolak tanpa token (401)🤖 Generated with Claude Code